<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="stripes" uri="http://stripes.sourceforge.net/stripes.tld"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
  <head><title>MyIsern - Add Collaboration</title></head>
  <div id="navLinks">
        <stripes:link href="/mainMenu.jsp">HOME</stripes:link>
        <stripes:link href="/index.jsp">LOGOUT</stripes:link>
    </div>
<body>


  MyIsern - Add Collaborations
  <p>
  --- Please fill out text field to the best of your knowledge.  If a certain field does<br>
  not apply at the moment or you do not know the answer, simply leave the field blank.<br>
  For multiple entries, please separate with a comma (,). Valid Years range between<br>
  1990 and 2010.  If you enter anything before or after those dates, respectively, it<br>
  will not be added.  Additionally, having no valid Years entered will set the default<br>
  year to 1990.If you are satisfied with the entry, please submit and save, or cancel.<br> 
  Thank you.  

  <p>
  <stripes:errors action="/AddCollaboration.action"/>

  <stripes:form id="AddCollaborationForm" action="/AddCollaboration.action" focus="">
     <table>
        <tr>
           <td>Collaboration Name:</td>
        </tr>
        <tr>
           <td><stripes:text style="width: 500px;" name="collaborationName"/></td>
        </tr>
        <tr>
           <td>Collaborating Organization(s):</td>
        </tr>
        <tr>
            <td><stripes:text style="width: 500px;" name="collaborationOrgs"/></td>
        </tr>
        <tr>
            <td>Collaboration Type(s):</td>
        </tr>
        <tr>
            <td><stripes:text style="width: 500px;" name="collaborationTypes"/></td>
        </tr>
		<tr>
           <td>Year(s):</td>
        </tr>
        <tr>
           <td><stripes:text style="width: 500px;" name="collaborationYears"/></td>
        </tr>
		<tr>
           <td>Outcome Type(s):</td>
        </tr>
        <tr>
           <td><stripes:text style="width: 500px;" name="collaborationOutcomes"/></td>
        </tr>
		<tr>
           <td>Description:</td>
        </tr>
        <tr>
           <td><stripes:textarea style="width:500px; height: 4em;" name="collaborationDescription"/></td>
        </tr>
        
		<tr>
           <td style="text-align: center;">
              <%-- If the security servlet attached a targetUrl, carry that along. --%>
              <stripes:hidden name="targetUrl" value="${request.parameterMap['targetUrl']}"/>
              <stripes:submit name="submitAndSave" value="Submit and Save"/>
              <%-- If the security servlet attached a targetUrl, carry that along. --%>
              <stripes:hidden name="targetUrl" value="${request.parameterMap['targetUrl']}"/>
              <stripes:submit name="cancel" value="Cancel"/>
           </td>
        </tr>
     </table>
   </stripes:form>
 
 <p>
<table id="ErrorMessageTable">
  <tr><td><font color="red">${actionBean.errorMessage}</font></td></tr>
</table>
</body>
</html>